{$type = autoreply_config::$autoreply_type}
<div class="replynav">
  <ul class="rnav-list clearfix">
    {foreach $type as $k=>$v}
      <li {if $k == $autoreply_type } class="curr" {/if}><a href='{:url("/autoreply/admin/$k")}'>{$v}</a></li>
    {/foreach}
  </ul>
</div>